/* $Id: Main.cpp 27 2011-09-16 13:28:08Z skagget77 $ */

/*!
 * \file
 * \author  Johan Andersson <skagget77@gmail.com>
 * \date    Sat Oct 03 15:16 2009
 * \ingroup TestApp.
 *
 * 
 */

#include "PreCompile.h"
#include "Task.h"
#include "IoCpp/Container.h"
#include "IoCpp/Scanner.h"


using namespace IoCpp;


int main()
{
   IContainerPtr container = Container::GetInstance();

   Scanner scanner(container);

   scanner.AddLibrary(L"TestModule.dll").AndOptionalLibrary(L"").AndPath(L"").AndExecutable();
   scanner.Scan();

   Module module(container);

   module.Implements<ITask>();
   module.Implements<ITask>().WithName(L"Nisse");

   module.Save();
}
